package com.lwj.springbootvue.model;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 班级对象 tb_classe
 * 
 * @author king
 * @date 2024-12-25
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Classe
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识每个班级 */
    private Long cid;

    /** 教学状态 */
    private Integer clevel;

    /** 班级名称 */
    private String name;

    /** 学生人数 */
    private Integer num;

    /** 更新时间 */
    private LocalDateTime createTime;
    private LocalDateTime updatedTime;
    private String remark;


    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Integer getClevel() {
        return clevel;
    }

    public void setClevel(Integer clevel) {
        this.clevel = clevel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }


    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Classe{" +
                "cid=" + cid +
                ", clevel=" + clevel +
                ", name=" + name +
                ", num=" + num +
                ", createTime=" + createTime +
                ", updatedTime=" + updatedTime +
                ", remark='" + remark + '\'' +
                '}';
    }
}
